package com.darren.archive.enums;

/**
 * 性别
 */
public enum Gender implements IBaseEnum {


    MAN(1, "男"), WOMAN(2, "女");

    public final Integer code;

    public final String text;

    Gender(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getText() {
        return this.text;
    }

}
